package com.bawei.a2010douyin.week3.ui.main;

import com.bawei.a2010douyin.base.mvp.BaseView;
import com.bawei.a2010douyin.entity.BaseResponse;
import com.bawei.a2010douyin.entity.VideoEntity;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.Query;

public interface MainContract {
    interface IMainModel{
        Observable<BaseResponse<List<VideoEntity>>> video(int currentPage,int pageSize);//视频
        //轮播图
    }
    interface IMainView extends BaseView{
        void showVideo(List<VideoEntity> data);
        //轮播图
    }

    interface IMainPresenter{
        void video(int currentPage,int pageSize);//视频
        //轮播图
    }
}
